package com.ganmiao.web.supplier.controller;
import com.ganmiao.server.supplier.entity.TenderProduct;
import com.ganmiao.server.supplier.service.TenderProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/tenders_products")
public class TenderProductController {
    @Autowired
    private TenderProductService tenderProductService;

    @GetMapping("/get")
    public TenderProduct tenderProductsGet(@RequestParam Integer id){
        return tenderProductService.tendersProductsGet(id);
    }

}

